<?php

defined( 'IN_DICE' ) or die( 'Access Error!' );

class online extends control {

  public function __construct() {
    
  }

  /**
   * 刷新用户的在线时间
   */
  public function fresh( $req ) {
    $this->auth( $req, 0 );
    if( $this->check != 1 ) { return $this->genRes(); }
    $this->error = 1;
    return $this->genRes();
  }

}
